package com.project_task.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Task implements Serializable {

    private static final long serialVersionUID = 1L;

    // 任务标号
    private Long id;

    // 项目标号
    private Long projectId;

    // 派遣人标号
    private Long userId;

    // 标题
    private String title;

    // 任务截止时间
    private LocalDate deadline;

    // 任务状态
    private Integer status;

    //创建时间
    private LocalDateTime createTime;

    //更新时间
    private LocalDateTime updateTime;

    // 删除标记
    private Integer is_deleted;
}
